newInstance

open fun newInstance(parent: Composite, browser: Browser): BrowserView

Creates a new BrowserView instance that displays the given browser instance.

Return

a new BrowserView instance

Parameters

parent

the parent container for the new BrowserView instance

browser

Browser instance that will be rendered in the current view